<template>
  <div class="common.vue">
    <div class="common-date">
      <div class="common-date-line common-date-line-l"></div>
      <div class="common-date-line common-date-line-r"></div>
      <p class="conmon-title">{{titleDate}}</p>
    </div>
    <div class="common-week">{{titleWeek}}</div>
  </div>
</template>

<script>
export default {
  name: "common.vue",
  props: ["titleWeek","titleDate"],
  data() {
    return {
      // title: 123
    };
  },

  methods: {}
};
</script>

<style lang='scss' scoped>
.common-date {
  width: 109px;
  height: 28px;
  margin: 0 auto;
  position: relative;
  line-height: 28px;
  .common-date-line{
    position: absolute;
    top: 50%;
    margin-top: -1px;
    width: 10px;
    height:2px;
    background-color: #000;
  }
  .common-date-line-r{
    right: 0;
  }
  
  .conmon-title {
    font-size: 20px;
    color: #010e0d;
  }
  .common-week {
    font-size: 12px;
    color: #494949;
  }
}
</style>
